to_json

pure function to_json(): json

Convert this GTV to a JSON value.

Inverse of gtv.from_json(json).

Return

a JSON value equivalent to this GTV

Since

0.9.0

Throws

exception

if this GTV cannot be converted to a JSON value